-
Notifications
You must be signed in to change notification settings - Fork 50
[WIP] feat: consolidate all YAML conditionals #891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The "compatible with" operator will accept any version that is greater than or equal to the target and that has not been marked as a breaking version change in the database. | ||
Note that RISC-V does not follow semantic versioning, so `2.0` may be compatible with `1.0` for a given extension as long as `2.0` (or any version between `1.0` and `2.0`) is not marked as a breaking version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this "marking" documented somewhere?
If so, can you put a reference to that here?
| `less_than_or_equal` | Parameter value is less than or equal to | `less_than`: 5 | ||
| `greater_than_or_equal` | Parameter value is greater than or equal to | `greater_than`: 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The examples here need to use the respective keys. (Looks like they were just copied from the previous examples.
Generic constraints provide an escape hatch when a condition is difficult to express when using <<ext_reqs,Extension Requirements>> or <<param_reqs,Parameter Requirements>>. | ||
A generic constraint is an IDL function containing one or more link:../idl.adoc#implications[implications]. | ||
The constraint holds if all the implications are true. | ||
The constraint function does not return a value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems more logical to return a boolean, no?
WIP